// -------------------------------------------
@import "@/assets/color.scss";

html,
body,
ul,
li,
img,
a,
p,
div,
form,
input {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

input,
button,
select,
textarea {
    outline: none;
    -webkit-appearance: none;
    border: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
        "Helvetica Neue", STHeiti, "Microsoft Yahei", Tahoma, Simsun, sans-serif;
}

// 禁止长按复制
div {
    -webkit-touch-callout: none;
    /*系统默认菜单被禁用*/
    -webkit-user-select: none;
    /*webkit浏览器*/
    -khtml-user-select: none;
    /*早期浏览器*/
    -moz-user-select: none;
    /*火狐*/
    -ms-user-select: none;
    /*IE10*/
    user-select: none;
}

// ------------------------------------------

.flex_center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex_start {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.flex_end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.flex_space_between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flex_space_around {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flex_column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

// ---------------------------------------------

.van-cell {
    padding: 12px 10px !important;
}

.van-cell::after {
    left: 10px !important;
    right: 10px !important;
}

// --------------------------------------

// 容器盒子
.box_con {
    padding: 0 10px;
}

// 重置大号按钮尺寸
.van-button--large {
    height: 44px !important;
}

// 首页标题
.header_bar {
    width: 100%;
    background-color: $BG_COLOR;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    z-index: 200;

    .title {
        font-size: 16px;
    }
}

.common_butt_color {
    color: #fff;
    background: linear-gradient(
        90deg,
        rgba(105, 175, 251, 1) 0%,
        rgba(56, 119, 245, 1) 100%
    );
    box-shadow: 0px 0px 10px 0px rgba(56, 119, 245, 0.1);
}
